home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / utility / ffe101.zip / EXEC.SWG / 0005_PIF.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-03  |  2KB  |  45 lines

  1. --------E-PIF-------------------------------
  2.  
  3. The  Program Information Files have stayed a long time with the PC. They
  4. origi-  nated  from  IBMs  Topview, were  carried  on  by DoubleView and
  5. DesqView,  and  today they are used by  Windows  and Windows NT. The PIF
  6. files store additional information about executables that are foreign to
  7. the  running  multitasking system such  as ressource usage, keyboard and
  8. mouse  virtualization and hotkeys. The original (Topview) PIF had a size
  9. of  171h  bytes, after that, there  come  the various extensions for the
  10. different operating environments. The different extensions are discussed
  11. in their own sections.
  12.  
  13. OFFSET              Count TYPE   Description
  14. 0000h                   1 byte   reserved
  15. 0001h                   1 byte   Checksum
  16. 0002h                  30 char   Title for the window
  17. 0020h                   1 word   Maximum memory reserved for program
  18. 0022h                   1 word   Minimum memory reserved for program
  19. 0024h                  63 char   Path and filename of the program
  20. 0063h                   1 byte   0 - Do not close window on exit
  21.                                  other - Close window on exit
  22. 0064h                   1 byte   Default drive (0=A: ??)
  23. 0065h                  64 char   Default startup directory
  24. 00A5h                  64 char   Parameters for program
  25. 00E5h                   1 byte   Initial screen mode, 0 equals mode 3 ?
  26. 00E6h                   1 byte   Text pages to reserve for program
  27. 00E7h                   1 byte   First interrupt used by program
  28. 00E8h                   1 byte   Last interrupt used by program
  29. 00E9h                   1 byte   Rows on screen
  30. 00EAh                   1 byte   Columns on screen
  31. 00EBh                   1 byte   X position of window
  32. 00ECh                   1 byte   Y position of window
  33. 00EDh                   1 word   System memory ?? whatever
  34. 00EFh                  64 char   ?? Shared program path
  35. 012Fh                  64 char   ?? Shared program data file
  36. 016Fh                   1 word   Program flags
  37.  
  38. EXTENSION:PIF,DVP
  39. OCCURENCES:PC
  40. PROGRAMS:Topview, DesqView, Windows
  41. REFERENCE:see DDJ #202, July 1993, QuarterDeck SDK
  42. SEE ALSO:Windows PIF, Windows NT PIF
  43. VALIDATION:
  44.  
  45.